package sq.service;

import sq.dao.Address;
import sq.dao.SchoolAddress;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: sunquan
 * @Date: 2018/3/28
 * @Time: 22:06
 */
public interface AddressService {
   List<SchoolAddress> findSchoolAddress();

    void updateAddress(Integer userId,String phone,String username,Integer schoolAddress,String addressDetail);

    Address findAddress(HttpServletRequest request);
}
